package com.my.swas.common.base;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.my.swas.common.constans.CommConst;
import lombok.Data;

/**
 * @Description:
 * @author: :MaYong
 */
@Data
public class BaseDto<T> {
    private int page = CommConst.pageNum;
    private int limit = CommConst.pageSize;

    public Page<T> getPage() {
        return  new Page<>(page,limit);
    }
}
